cmake_minimum_required(VERSION 3.5)
project(cpython)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-elide-constructors")

set(SOURCE_FILES main.cpp engine/CppPy.h engine/CppPy.cpp engine/dolphin.h engine/PyObj.h)

link_libraries("/usr/lib/libpython.dylib")
include_directories(/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Python.framework/Headers)

set(LIB_FILES engine/CppPy.cpp)
#add_library(CppPy STATIC SHARED ${LIB_FILES})

add_executable(cpython ${SOURCE_FILES})
